export default [
	{ 
		path: '/welcome', 
		component: './welcome',
		name: '欢迎',
	},
	{ 
		path: '/login', 
		component: './login/index', 
	},
	{ 
		path: '/', 
		component: './layout',
		name: '首页',
		routes: [
			{ path: '/', component: './index/index', name: '应用' },
			{ path: '/user', component: './user/index', name: '用户' },
			{ path: '/admin', component: './admin/index', name: '管理员', hide: false, rules: true },
			{ path: '/*', component: './404' },
		],
	},
];